From 0fd06de05a06e1a89b9a68b49558a4ced1ff056b Mon Sep 17 00:00:00 2001 From: "Ian.Campbell@xensource.com" Date: Mon, 27 Feb 2006 10:55:13 +0000 Subject: [PATCH] Only panic() if the dom0 kernel requires an unknown feature flag. It is acceptable for a guest kernel to support (but not require) a feature which the hypervisor does not understand. Signed-off-by: Ian Campbell --- xen/arch/x86/domain_build.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/domain_build.c b/xen/arch/x86/domain_build.c index d381bb5254..c6dd10baa0 100644 --- a/xen/arch/x86/domain_build.c +++ b/xen/arch/x86/domain_build.c @@ -181,7 +181,8 @@ static void parse_features( { printk("Unknown kernel feature \"%.*s\".\n", (int)(p-feats), feats); - panic("Domain 0 requires an unknown hypervisor feature.\n"); + if ( req ) + panic("Domain 0 requires an unknown hypervisor feature.\n"); } feats = p; -- 2.30.2